<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="js/jquery.min.js"></script>
	</head>
	
	<body>
		<button id="pay">支付宝支付</button>
		<button >微信支付</button>
	</body>
	
	<script>
		$("#pay").click(function(){
			$("#pay").attr("disabled",true);//只执行一次
			$("#pay").text($(this).text()+"已经支付，请返回！");
		})
	</script>
</html>
